package org.example.model;

import org.example.model.Enum.ExamPermission;
import org.example.model.PoJo.Student;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class StudentAccount {

    // 考生1
    public static Student stu1 = new Student("张伟", "STU20210001", "Zw@202101", ExamPermission.PERMISSION);
    // 考生2
    public static Student stu2 = new Student("王芳", "STU20210002", "Wf#202102", ExamPermission.PERMISSION);
    // 考生3
    public static Student stu3 = new Student("李强", "STU20210003", "Lq$202103", ExamPermission.PERMISSION);
    // 考生4
    public static Student stu4 = new Student("赵敏", "STU20210004", "Zm%202104", ExamPermission.PERMISSION);
    // 考生5
    public static Student stu5 = new Student("陈浩", "STU20210005", "Ch^202105", ExamPermission.PERMISSION);

    // 考生6
    public static Student stu6 = new Student("周雨", "STU20210006", "Zy&202106", ExamPermission.PERMISSION);
    // 考生7
    public static Student stu7 = new Student("徐丽", "STU20210007", "Xl*202107", ExamPermission.PERMISSION);
    // 考生8
    public static Student stu8 = new Student("孙鹏", "STU20210008", "Sp(202108", ExamPermission.PERMISSION);
    // 考生9
    public static Student stu9 = new Student("马涛", "STU20210009", "Mt)202109", ExamPermission.PERMISSION);
    // 考生10
    public static Student stu10 = new Student("黄薇", "STU20210010", "Hw_202110", ExamPermission.NULL_PERMISSION);

    public static List<Student> studentList = new ArrayList<Student>();

    public static void init() {
        Collections.addAll(studentList, stu1, stu2, stu3, stu4, stu5, stu6, stu7, stu8, stu9, stu10);
    }
}
